

# build 
docker build -t httpserver:v1.0 .
docker tag httpserver:v1.0 shiwj/httpserver:v1.0

# push
docker login
docker push shiwj/httpserver:v1.0

# 启动
docker run -itd shiwj/httpserver:v1.0 --net=bridge bash
    [2e4bc6397bf71b264aca8cbeca6dc7a850adda3cf7690fe2cb51bfa04c6be0c1]

# 查看容器IP
nsenter -n -t `docker inspect -f '{{.State.Pid}}' 2e4bc6` ip a